package cc.ruih.meizanchen;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * 使用条款页面
 * @author 郭瑞坡
 *
 */
public class Term extends Activity {

	private WebView term;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.term);
		ImageView headLogo = (ImageView) findViewById(R.id.headLogo);
		headLogo.setVisibility(View.GONE);		// 使用Logo图标不可见
		ImageView setImage = (ImageView) findViewById(R.id.setting);
		setImage.setVisibility(View.GONE);
		TextView tv=(TextView) findViewById(R.id.headTitle);
		tv.setText("使用条款");
		term = (WebView) findViewById(R.id.term);
		term.loadUrl("file:///android_asset/term.html");  // WebView加载HTML
	}

}
